package com.shihb.behavioralpatterns.visitorpattern;

/**
 * @author shihb
 * @date 2020/7/27 0:52
 */
public abstract class Persion {
  protected String name;

  public Persion(String name) {
    this.name = name;
  }

  abstract void accept(Action action);
}
